import React, {PureComponent} from 'react'

class Log extends PureComponent {
    constructor() {
        super()
    }

    componentDidMount() {

    }

    render() {
        const {title,logs} = this.props
        return (
            <div className="device-log-container">
                <p>{title}</p>
                <ul className="device-log">
                    {logs.map(log=><li>{log}</li>)}
                </ul>
            </div>
        )
    }

}

export default Log